package com.dfire.soa.mcsao.life;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class SpringLifeCycle {

    private final static Logger LOGGER = LoggerFactory.getLogger(SpringLifeCycle.class);

    private String springLifeCycle = "SPRINGLIFECYCLE_";


    

    public void start() {
        LOGGER.info("SpringLifeCycle start");
        springLifeCycle = springLifeCycle + "start_";
    }


    public void destroy() {
        LOGGER.info("SpringLifeCycle destroy");
        springLifeCycle = springLifeCycle + "destroy_";
    }





    public String sayHall() {
        return springLifeCycle;
    }
}